<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>检查脚本是否已超时</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.connection-status.html">connection_status</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.constant.html">constant</a></div>
 <div class="up"><a href="ref.misc.html">杂项 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.connection-timeout" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">connection_timeout</h1>
  <p class="verinfo">(PHP 4 &lt;= 4.0.4)</p><p class="refpurpose"><span class="refname">connection_timeout</span> &mdash; <span class="dc-title">检查脚本是否已超时</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.connection-timeout-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>connection_timeout</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
  检查脚本是否已超时。
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.connection-timeout-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   如果脚本已超时返回 1，否则返回 0。
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.connection-timeout-notes">
  <h3 class="title">注释</h3>
  <div class="warning"><strong class="warning">Warning</strong>
   <h1 class="title">已废弃</h1>
   <p class="simpara">
    该函数已被废弃，从PHP4.0.5起不再存在。
   </p>
   
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.connection-timeout-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.connection-status.html" class="function" rel="rdfs-seeAlso">connection_status()</a> - 返回连接的状态位</span></li>
    <li class="member">
     <a href="features.connection-handling.html" class="link">Connection Handling</a>
     关于PHP连接处理的完整描述。
    </li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.connection-status.html">connection_status</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.constant.html">constant</a></div>
 <div class="up"><a href="ref.misc.html">杂项 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
